Skip to main content

About packages.yml context

The following context methods and variables are available when configuring a packages.yml file.

Available context methods:

  • env_var
    • You can use env_var() in any dbt YAML file that supports Jinja, but packages.yml treat environment variables as secrets (using the DBT_ENV_SECRET_ prefix).
  • var (Note: only variables defined with --vars are available. Refer to YAML tips for more information)

Available context variables:

Was this page helpful?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

0
Loading